package com.example.demo.config.datasourseconfig;

import com.example.demo.constant.SourceName;

import java.lang.annotation.*;
/**
 * @description
 * @author LLZ
 * @date 2024/4/7 9:16
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {

    /**
     * 数据源key值
     * @return
     */
    SourceName value();

}
